<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>提示信息 - Powered By LIUSANY</title>
<meta name="Author" content="LIUSANY Team" />
<meta name="Copyright" content="LIUSANY" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link href="${ctx}/template/admin/css/base.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/template/admin/css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/template/common/js/jquery.js"></script>
<script type="text/javascript" src="${ctx}/template/admin/js/base.js"></script>
<script type="text/javascript" src="${ctx}/template/admin/js/admin.js"></script>
<script type="text/javascript">
$().ready( function() {
	
	function redirectUrl() {
		<c:choose>
	         <c:when test="${redirectUrl != null}">
	             window.location.href = "${ctx}/${redirectUrl}"
	         </c:when>
	         <c:otherwise>
	             window.history.back();
	         </c:otherwise>
        </c:choose>
	}
	
		$.dialog({type: "error", title: "操作提示", content: 
		"您的操作错误", ok: "确定", okCallback: redirectUrl, cancelCallback: redirectUrl, width: 380, modal: true});

});
</script>


</head>
<body class="error">
</body>
</html>